<!doctype html>
<html>
<head>
    <title>添加积分规则</title>
    <?php $this->load->module('admin/index/page_header');?>
</head>
</head>
<body>
<div class="wrap">
<div class="table_full">
    <div class="h_a">编辑积分规则</div>

    <form method="post" class="formvalidate" action="<?php echo $form_url;?>">
        <table class="list tab_label" width="100%" cellpadding="0" cellspacing="1" border="0" id="general_config">
            <tbody>
            <tr>
                <td class="name">
                    <label class="validation"><span class="spanMsg">*</span>规则名称：</label>
                </td>
                <td>
                    <input type="text" class="input rounded"  name="Form[rulename]" size="50" value="<?php echo $rulename;?>" validate="{required:true,rangelength:[1,30]}" />
                </td>
                <td class="field"></td>
            </tr>


            <tr>
                <td class="name" width="150">
                    <label class="validation">
                        <span class="spanMsg">*</span>分类
                    </label>
                </td>
                <td>
                    <select name="Form[action]" class="select rounded" style="font-family: 'Courier New', Courier, monospace;">
                        <option value="login">登陆</option>
                        <option value="register">注册</option>
                    </select>
                </td>
                <td class="field"></td>
            </tr>


            <tr>
                <td class="name">
                    <label class="validation"><span class="spanMsg">*</span>积分值：</label>
                </td>
                <td>
                    <input type="text" id="password" name="Form[integral]" value="<?php echo $integral;?>" class="input rounded iColorPicker" size="50" validate="{required:true,rangelength:[0,10],number:true}">
                </td>
                <td class="field"></td>
            </tr>
            <tr>
                <td colspan="2">
                    <button type="submit" class="btn btn_submit">提交</button>
                    <button type="reset" class="btn btn_cancel">重置</button>
                </td>
            </tr>

            </tbody>
        </table>


        <input type="hidden" name="rid" value="<?php echo $rid;?>"/>

    </form>
</div>
</div>
</body>
</html>